-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(ext/crypto): use concrete error types #26167
Conversation
General(#[from] SharedError), | ||
#[error(transparent)] | ||
Pkcs1(#[from] rsa::pkcs1::Error), | ||
#[error("Decryption failed")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All other error strings start as a lowercase. Is that supposed to be lowercase too?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am planning to clean up the messages a bit on a follow-up; for now i just moved the strings, so this is like it was before. I agree this should be more consistent, but wont do that in this PR
Signed-off-by: Leo Kettmeir <crowlkats@toaxl.com>
# Conflicts: # ext/crypto/lib.rs # runtime/errors.rs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
No description provided.